package domain.entities;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Table;

@Entity
@Table(name = "SUBS", schema = "dictionary")
public  class ESub implements IEntity{
  private String DE;
  private String RO;
  private int Id;

  public ESub(){
    
  }
  
  public ESub(String ro, String de){
    DE = de;
    RO = ro;
  }
  
  public String getRO() {
    return RO;
  }
  
  public void setRO(String ro) {
    RO = ro;
  }

  public String getDE() {
    return DE;
  }

  public void setDE(String dE) {
    DE = dE;
  }

  @javax.persistence.Id
  @GeneratedValue(strategy=GenerationType.SEQUENCE)
  public int getId() {
    return Id;
  }

  public void setId(int id) {
    Id = id;
  }

}
